package Practice.Practice_02.UserManagementSystem;

public class SearchAll {
    public static void searchAll(Person[] person){
        for(int i = 0; i < person.length; i++){
            if(person[i].getId() == -1){
                continue;
            }
            System.out.println(person[i].getId() + " " + person[i].getName() + " "
                    + person[i].getPass() + " " + person[i].getEmail() + " " + person[i].getPower());
            System.out.println("=========================");
        }
    }
}
